﻿using Microsoft.EntityFrameworkCore;
using NCS.DeviceManager.Models.Entities;

namespace NCS.DeviceManager.Repositories
{
    public class DeviceDbContext : DbContext
    {
        public DeviceDbContext(DbContextOptions<DeviceDbContext> options) : base(options)
        {

        }

        public DbSet<UserInfoEntity> UserInfos { get; set; }
        public DbSet<RoleEntity> Roles { get; set; }
        public DbSet<UserRoleEntity> UserRoles { get; set; }
        public DbSet<AccessEntity> Accesses { get; set; }
        public DbSet<MenuEntity> Menus { get; set; }
        public DbSet<RoleAccessEntity> RoleAccesses { get; set; }
        public DbSet<DocumentEntity> Documents { get; set; }
        public DbSet<EmailEntity> Emails { get; set; }
        public DbSet<SignatureEntity> Signatures { get; set; }
    }
}
